package com.bear.udisk.mapper;

import com.bear.udisk.model.Userinfo;

public interface UserinfoMapper {
	/**
	 * 添加用户
	 * @param user
	 * @return
	 */
	public int add(Userinfo user);
	/**
	 * 用户登录
	 * @param userName
	 * @param userPass
	 * @return
	 */
	public Userinfo login(Userinfo user);
}
